#ifndef ETURTLE_H
#define ETURTLE_H

#include "ObEnemies.h"

class ETurtle : public ObEnemies{
public:
	ETurtle();
	ETurtle(ENERMY1 nid, RUAINFO ninfo);
	~ETurtle();

	bool setId(int nid);
	bool setInfo(int ninfo);
	int getLevel();

	static bool checkType(int nid);
	static bool checkInfo(int ninfo);

	void collidedWith(ObObject* object, CollisionRS rs);
	void update(float dt);
	void render(ID3DXSprite* mSprite);

	static bool loadTexture();
	static bool releaseTexture();

private:
	void kill(bool permakill, bool mustdeath);
	void setStatus(int lv);

	static IDirect3DTexture9* mTex;
	static CSound* sDie;

	int		mCurrentSprite;
	Action	mCurrentAction;
	int		mLevel;

	float count;
	float delaycount;
};
#endif